{if !isset($status)}
<h1>{t}Developer options{/t}</h1>

<div id="moduleTabs">
    <ul>
        <li><a href="javascript:void(0);" title="" ><span>{t}parameters{/t}</span></a></li>
    </ul>
</div>
{/if}

<div id="tabContent">
    <div id="formStatus">{if isset($status)}{$status}{/if}</div>

    <form method="post" action="?module=backoffice&action=block_SystemDevelopment" name="form">
        
    <div class="submitButton"><button type="reset" class="greyButton" >{t}Cancel{/t}</button> <button type="submit" name="form[submit]" class="greenButton" >{t}Save{/t}</button></div>
    {assign var=parameters value=$config->getParameters('default')}
    <table class="listTable form">
        <tr>
            <th colspan="3">{t}Debugging{/t}</th>
        <tr>
        <tr>            
            {t assignTo=help}Errors - Sets the display level of errors, the highest level is most often used in development phase.{/t}
            <td style="width: 20px;">{icon name="help.png" class="toolTip" title=$help}</td>
            <td style="width:180px;">{t}Display errors{/t} :</td>
            <td>
                <select name="form[errorLevel]">
                    <option value='PROD'>{t}Disabled{/t}</option>
                    <option value='DEVELOPMENT' {if $parameters.errorLevel == 'DEVELOPMENT'}selected="selected"{/if}>{t}Show only errors{/t}</option>
                    <option value='STRICT' {if $parameters.errorLevel == 'STRICT'}selected="selected"{/if}>{t}Show errors and notifications{/t}</option>
                </select>
            </td>
        </tr>
        <tr>
            {t assignTo=help}FirePHP - FirePHP is a plugin for FireBug to debug PHP scripts. See www.firephp.org{/t}
            <td style="width: 20px;">{icon name="help.png" class="toolTip" title=$help}</td>
            <td style="width:170px;">FirePHP :</td>
            <td>
                <select name="form[enableFirePHP]">
                    <option value=0>{t}Disabled{/t}</option>
                    <option value=1 {if $parameters.enableFirePHP == true}selected="selected"{/if}>{t}Enabled{/t}</option>
                </select>
            </td>
        </tr>
        <tr>
            <th colspan="3">{t}Logging{/t}</th>
        <tr
        <tr>
            {t assignTo=help}Logging - Allows you to define what must be recorded in the log.{/t}
            <td style="width: 20px;">{icon name="help.png" class="toolTip" title=$help}</td>
            <td style="width:180px;">{t}Logging level{/t} :</td>
            <td>
                <select name="form[loggingLevel]">
                    <option value='PROD'>{t}Disabled{/t}</option>
                    <option value='NOTICE' {if $parameters.loggingLevel == 'NOTICE'}selected="selected"{/if}>{t}Save only notifications{/t}</option>
                    <option value='ALERT' {if $parameters.loggingLevel == 'ALERT'}selected="selected"{/if}>{t}Save errors and notifications{/t}</option>
                    <option value='DEBUG' {if $parameters.loggingLevel == 'DEBUG'}selected="selected"{/if}>{t}Save all{/t}</option>
                </select>
            </td>
        </tr>
        <tr>
            {t assignTo=help}Logging - Displays used disk space by logs.{/t}
            <td style="width: 20px;">{icon name="help.png" class="toolTip" title=$help}</td>
            <td style="width:180px;">{t}Logs size{/t} :</td>
            <td>
                {$logSize} - <button type="button" class="greyButton" onclick="clearLogs();">{t}Clean up log files{/t}</button>
            </td>
        </tr>
    </table>
</div>